package com.wanmei.pojo;

import java.util.List;

public class Product {
    private Integer pid;

    private Integer cid;

    private String pname;

    private String ppoint;

    private Float price;

    private String imgurl;

    private String information;

    private List<Productpic> productpicList;

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname == null ? null : pname.trim();
    }

    public String getPpoint() {
        return ppoint;
    }

    public void setPpoint(String ppoint) {
        this.ppoint = ppoint == null ? null : ppoint.trim();
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl == null ? null : imgurl.trim();
    }

    public String getInformation() {
        return information;
    }

    public void setInformation(String information) {
        this.information = information == null ? null : information.trim();
    }

    public List<Productpic> getProductpicList() {
        return productpicList;
    }

    public void setProductpicList(List<Productpic> productpicList) {
        this.productpicList = productpicList;
    }

    @Override
    public String toString() {
        return "Product{" +
                "pid=" + pid +
                ", cid=" + cid +
                ", pname='" + pname + '\'' +
                ", ppoint='" + ppoint + '\'' +
                ", price=" + price +
                ", imgurl='" + imgurl + '\'' +
                ", information='" + information + '\'' +
                ", productpicList=" + productpicList +
                '}';
    }
}